@import "./color.scss";

.cartpage {
  padding-top: 10px;

  .container {
    display: flex;
    justify-content: flex-start;

    aside {
      border: 0.5px solid #f1f1f1;
      padding: 16px;

      .about__order {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 0.5px solid #f1f1f1;
        p {
          margin-bottom: 16px;
        }
      }

      .ordering {
        display: flex;
        flex-direction: column;
        .final__cost {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-top: 16px;
          padding-bottom: 24px;
        }

        .btn__ordering {
          cursor: pointer;
          padding: 10px;
          text-transform: uppercase;
          font-size: 16px;
          background: none;
          border: 1px solid $acsent-color;
          margin-bottom: 10px;
          transition: 0.4s;
          &:hover {
            background-color: $acsent-color;
            color: $secondary-color;
          }
        }

        .agreements {
          font-size: 9px;
          text-align: center;
        }
      }
    }

    .products__list {
      width: 79%;
      display: flex;
      flex-wrap: wrap;
    }
  }
}

.empty__cartpage {
  display: flex;
  align-items: center;
  justify-content: center;

  .container {
    height: 100%;

    .empty__cart {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;

      img {
        margin-bottom: 20px;
      }

      h3 {
        margin-bottom: 20px;
      }

      .link__main {
        color: $acsent-color;
      }
    }
  }
}

.order__data {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  .order__title{
    margin-bottom: 20px;
  }

  input {
    border: none;
    border-bottom: 1px solid;
    padding: 10px;
    width: 100%;
    outline: none;
    height: 40px;
    font-size: 16px;
    color: $primary-color;
  }

  button {
    margin-top: 30px;
    cursor: pointer;
    padding: 10px;
    text-transform: uppercase;
    font-size: 16px;
    background: none;
    border: 1px solid $acsent-color;
    margin-bottom: 10px;
    transition: 0.4s;

    &:hover {
      background-color: $acsent-color;
      color: $secondary-color;
    }
  }
}
